package com.zhentao.day03.pm;

public class NotePad extends Stationery{
  private int page ;

  public NotePad (){}

  public NotePad(int page) {
    this.page = page ;
  }

  public void setPage(int page) {
    this.page = page ;
  }
  public int getPage(){
    return this.page ;
  }

  @Override
  public void show() {
    System.out.println("笔记本信息 : 名称 = "
        + getName()
    + " , 数量 = " + getNum()
    + " , 价格 = " + getPrice()
    + " , 页数 = " + getPage());
  }
}
